using System;
using System.Runtime.Serialization.Formatters.Binary ;
using System.IO;


namespace AppliedRecognition.Speech.TaskSupport {
	
	[Serializable]
	public class VisibleTasks: EnumWindows {
		public VisibleTasks() {
		}

		protected override  bool OnWindowEnum(IntPtr hWnd) {
			WindowItem w = new WindowItem(hWnd,GetOwnerWindow(hWnd));
			if ( w.Visible) {
				base.Items.Add(w);
			}
			return true;
		}
	} //class
} //NS
